package com.itheima.tlias84.dao.mapper;

import com.itheima.tlias84.controller.po.InsertEmpParam;
import com.itheima.tlias84.controller.po.InsertExprParam;
import com.itheima.tlias84.dao.entity.Expr;
import com.itheima.tlias84.service.dto.SelectExprDTO;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

@Mapper
public interface ExprMapper {

    List<SelectExprDTO> selectByEmpId(@Param("eid") Integer eid);

    int batchInsert(@Param("list") List<InsertExprParam> list, @Param("eid") Integer empId);

    void deleteByEmpId(@Param("list") List<Integer> eidList);

}
